﻿
Partial Class PopUpPanel
    Inherits System.Web.UI.Page



    Protected Sub btnShow_Click(sender As Object, e As EventArgs) Handles btnShow.Click
        PopUpPanel1.Visible = True
    End Sub

    Protected Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click
        PopUp1.Show("Save OK", String.Format("{0} is {1} years old.", txtName.Text, txtAge.Value), MessageType.Information)
        PopUpPanel1.Visible = False
    End Sub

End Class
